﻿
namespace Admin.NET.Core.Btms;

[Tenant("Btms2")]   //"ConfigId"一致
[SugarTable("BasBloodProduct", "血库2产品表")]
public class BasBloodProduct
{
    [SugarColumn(ColumnName = "Code", ColumnDescription = "Code", IsPrimaryKey = true, IsIdentity = false)]
    public string Code { get; set; }
    public string Name { get; set; }
    /// <summary>
    /// 血液品种Id
    /// </summary>
    public int BasBloodVarietyId { get; set; }

    /// <summary>
    /// 血液品种名称
    /// </summary>
    public string BasBloodVarietyName { get; set; }

    /// <summary>
    /// 容量
    /// </summary>
    public decimal Volume { get; set; }
    /// <summary>
    /// 价格
    /// </summary>
    public decimal Price { get; set; }
    /// <summary>
    /// 阴性价格
    /// </summary>
    public decimal FemininePrice { get; set; }

    /// <summary>
    /// 血站血液价格
    /// </summary>
    public decimal? XzPrice { get; set; }

    /// <summary>
    /// 转换率 ml/u
    /// </summary>
    //public decimal UnitRate { get; set; }

    /// <summary>
    /// His编码
    /// </summary>
    public string HisCode { get; set; }
    public string HisSpec { get; set; }

    /// <summary>
    /// 是否大量用血
    /// </summary>
    //public bool IsQuantity { get; set; }

    /// <summary>
    /// His编码
    /// </summary>
    public bool IsEnabled { get; set; }

    public long? LastModifierUserId { get; set; }
    public DateTime? LastModificationTime { get; set; }
    public long? CreatorUserId { get; set; }
    public DateTime CreationTime { get; set; }
}
